package ooDay02;

public class Doctor extends Person {
    double salary;
    String title;
    Doctor(){

    }
    Doctor(String name,String address,int age,double salary,String title){
        super(name,age,address);
        this.title = title;
        this.salary = salary;

    }
    void cut(){
        System.out.println("医生"+name+"正在手术...");
    }
}
